package cn.edu.gzgs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * WebSocket统一消息结构
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Message implements Serializable {

    private String id;
    
    private String senderId;
    
    private String senderName;
    
    private String acceptId;
    
    private String title;
    
    private String type;
    
    private String content;
    
    private String time;
    
    private Boolean isRead;
}